Cheddar 0.1-629 was released today and is available on CRAN.
This release adds the PlotWagonWheel
function, which shows a focal node
at the centre with other nodes in concentric circles that are one, two, three
etc trophic links away. Isolated nodes are not shown.
library(cheddar)
data(TL84)
# Ploesoma sp. is the focal species
PlotWagonWheel(TL84, 'Ploesoma sp.')
# 'Daphnia pulex' is the focus, nodes ordered by degree (total number of
# trophic links), lines partially transparent
PlotWagonWheel(OrderCommunity(TL84, 'Degree'), 'Daphnia pulex',
show.nodes.as='labels', link.col=rgb(0.8,0.8,0.8,0.5))
See the release history for details.